
<include file="Public:header"/><body class="J_scroll_fixed">
<div class="wrap J_check_wrap">
	<div class="nav">
		<ul class="cc">
			<li ><a href="/Admins/News/advert/menuid/82">新闻广告</a></li>
			<li class="current"><a href="#">编辑广告</a></li>
		</ul>
	</div>
	<form method="post" class="J_ajaxForm" enctype="multipart/form-data" action="{:U('News/advertadd',array('action'=>'edit'))}" >
	<input type="hidden" name="id" value="{$data.id}">
	<div class="J_tabs_contents">
		<div class="h_a">信息添加(带红色框为必填项)</div>
		<div class="table_full">
			<table width="100%" class="table_form">
			
				<tr>
					<th width="100">广告位置：</th>
					<td>
						<select name="seat" >
							<option value="1" {$data['seat']==1?'selected':''}>轮播广告</option>
							<option value="2" {$data['seat']==2?'selected':''}>横条广告</option>
							<option value="3" {$data['seat']==3?'selected':''}>详细页面广告</option>
						</select>
					</td>
				</tr>
				
				<tr>
					<th>广告标题：</th>
					<td><input type="text" name="title" class="input require" size="50" value="{$data.title}"></td>
				</tr>
				<tr>
					<th>外部链接：</th>
					<td><input type="text" name="linkurl" class="input" size="50"  value="{$data.linkurl}"> 必须带http://</td>
				</tr>
				<tr>
					<th>信息图片：</th>
					<td><Form function="images" parameter="image,image,$data['image'],news"/><span class="gray"> 双击可以查看图片！</span></td>
				</tr>
				<tr>
					<th>是否显示：</th>
					<td><input type="radio" name="style" value="0" {$data['style']==0?'checked':''} /> 否 &nbsp;&nbsp; <input type="radio" name="style" value="1"{$data['style']==1?'checked':''}> 是</td>
				</tr>
				
				<tr>
					<th>排序：</th>
					<td><input type="text" name="sort" class="input" size="10" value="{$data.sort}" /></td>
				</tr>
			
			</table>
		</div>
		<div class="btn_wrap_pd">
			<button class="btn btn_submit mr10 J_ajax_submit_btn" type="submit">提交</button>
		</div>
	</div>
	
	</form>

</div>
<script type="text/javascript" src="__JS__/common.js"></script>
<script type="text/javascript" src="__JS__/content_addtop.js"></script>

</body>
</html>